package controller

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"road/restgo"
)

type DeviceController struct {
	restgo.Controller
}

func (ctrl *DeviceController) Router(router *gin.Engine) {

	r := router.Group("device")
	r.GET("devicelist", ctrl.devicelist)
}

func (ctrl *DeviceController) devicelist(ctx *gin.Context) {

	fmt.Println("设备列表")

}